package com.lanhe.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lanhe.common.utils.haoka.dto.OrdersHaokaApplyNoticeDto;
import com.lanhe.order.domain.LhOrdersHaoka;
import com.lanhe.order.domain.dto.LhOrdersHaokaApplyDto;

import java.util.List;

/**
 * 号卡订单表(LhOrdersHaoka)表服务接口
 *
 * @author zhanggl
 * @since 2023-12-25 20:19:30
 */
public interface ILhOrdersHaokaService extends IService<LhOrdersHaoka> {

	/**
	 * 订单列表
	 *
	 * @param ordersHaoka 实体
	 * @return java.util.List<com.lanhe.order.domain.LhOrdersHaoka>
	 * @author zhanggl
	 * @date 2023/12/25
	 */
	List<LhOrdersHaoka> selectOrdersList(LhOrdersHaoka ordersHaoka);

	/**
	 * 敢探号提单V2
	 *
	 * @param applyDto DTO
	 * @return int
	 * @author zhanggl
	 * @date 2023/12/25
	 */
	int insertOrdersHaoka(LhOrdersHaokaApplyDto applyDto);

	/**
	 * 敢探号提单-回调通知
	 *
	 * @param params 实体对象
	 */
	void purchaseNotice(OrdersHaokaApplyNoticeDto params);

	/**
	 * 根据编号获取详细信息
	 */
	LhOrdersHaoka selectOrdersHaokaById(Long orderId);

	Integer auditOrdersHaokaById(LhOrdersHaoka ordersHaoka);
}

